import { Injectable } from '@angular/core';
import { LeanCloudService } from 'app/utils/lean-cloud.service'
import { Router } from '@angular/router'
@Injectable()
export class AuthService {

  constructor(
    private AV: LeanCloudService,
    private router: Router
  ) { }

  /**
   * 用户登录
   * @param username
   * @param password
   */
  login(username: string, password: string) {
    return this.AV.Login(username, password)
  }
}
